package com.leiyuan.search.service;

import com.leiyuan.model.PageParams;
import com.leiyuan.search.dto.SearchCourseParamDto;
import com.leiyuan.search.dto.SearchPageResultDto;
import com.leiyuan.search.po.CourseIndex;

/**
 * @description 课程搜索service
 * @author leiyuan
 * @version 1.0
 */
public interface CourseSearchService {

    /**
     * 搜索课程列表
     * @param pageParams 分页参数
     * @param searchCourseParamDto 搜索条件
     * @return com.leiyuan.search.dto.SearchPageResultDto<com.leiyuan.search.po.CourseIndex>
     * @author leiyuan
    */
    SearchPageResultDto<CourseIndex> queryCoursePubIndex(PageParams pageParams, SearchCourseParamDto searchCourseParamDto);

 }
